def sum1(a, b, fn):
    return fn(a) + fn(b)


result = sum1(-1, 2, abs)
print(result)

#help(abs)
